package br.org.blacklist.web;

import org.apache.wicket.guice.GuiceComponentInjector;
import org.apache.wicket.protocol.http.WebApplication;

import br.org.blacklist.web.index.IndexWebPage;

public class BlacklistPoliticoApplication extends WebApplication {

    @Override
    protected void init() {
        super.init();
        this.getResourceSettings().setResourcePollFrequency(null);
        this.getComponentInstantiationListeners().add(new GuiceComponentInjector(this, new BlacklistPoliticoGuiceModule()));
    }

    @Override
    public Class<IndexWebPage> getHomePage() {
        return IndexWebPage.class;
    }

}
